//
//  NeteaseLayout.h
//  15-自定义Layout-网易新闻标题
//
//  Created by LL.F on 16/8/3.
//  Copyright © 2016年 LL.F. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol NeteaseLayoutDelegete <NSObject>

- (CGFloat)collectionView:(UICollectionView *)collectionView
                   layout:(UICollectionViewLayout *)collectionViewLayout
                   height:(CGFloat)height
  widthForItemAtIndexPath:(NSIndexPath *)indexPath;
@end
@interface NeteaseLayout : UICollectionViewLayout
@property (nonatomic, weak) id <NeteaseLayoutDelegete>delegate;
@end
